package com.rz.paas.test.inChannel.bottomMenuFragment

import androidx.fragment.app.Fragment
import com.orhanobut.hawk.Hawk
import com.rz.paas.test.constant.AppConstant

open class MiddleFragment : Fragment() {
    val dataMap = AppConstant.dataMap
    fun getResString(dataIndex: Int): String {
        var stringArray = resources.getStringArray(dataMap[dataIndex].resId)
        return stringArray[Hawk.get(dataMap[dataIndex].name, 0)]
    }
}